home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-05-09 | 1.4 KB | 51 lines |
- /**/#
- /**/# This Imakefile makes the following programs:
- /**/#
- /**/# heartsd: hearts dealer daemon
- /**/# hearts_dist: heartsd spawner
- /**/# xmhearts: X11/Motif hearts interface
- /**/# xawhearts: X11/Xaw hearts interface
- /**/#
-
- /**/# Make this the same as HEARTSLIB in local.h
- HEARTSLIB = /usr/local/lib/hearts
-
- SRCS_D = heartsd.c sockio.c
- OBJS_D = heartsd.o sockio.o
- SRCS_DIST = hearts_dist.c opensock.c sockio.c
- OBJS_DIST = hearts_dist.o opensock.o sockio.o
-
- /**/#
- /**/# Uncomment this if you don't have a Motif build environment
- /**/#
- /* #define NO_MOTIF */
-
- #ifdef NO_MOTIF
- SRCS = xawclient.c hearts.c select.c connect.c sockio.c start_dist.c gfx.c
- OBJS = xawclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o
- PROGRAMS = heartsd hearts_dist xawhearts
- LOCAL_LIBRARIES = XawClientLibs
- #else
- SRCS = xmclient.c hearts.c select.c connect.c sockio.c start_dist.c gfx.c
- OBJS = xmclient.o hearts.o select.o connect.o sockio.o start_dist.o gfx.o
- PROGRAMS = heartsd hearts_dist xmhearts
- LOCAL_LIBRARIES = $(XMLIB) $(XTOOLLIB) $(XMEXTRA_LIBS) $(XLIB)
- #ifndef XMLIB
- /* XMLIB = XmClientLibs */
- #endif
- #endif
-
- #ifdef NO_MOTIF
- ComplexProgramTarget(xawhearts)
- #else
- ComplexProgramTarget(xmhearts)
- #endif
- SingleProgramTarget(heartsd, $(OBJS_D), , )
- SingleProgramTarget(hearts_dist, $(OBJS_DIST), , )
-
- InstallNonExecFile(hearts.instr,$(HEARTSLIB))
- InstallProgram(heartsd,$(HEARTSLIB))
- InstallProgram(hearts_dist,$(HEARTSLIB))
-
- CDEBUGFLAGS = -g
-